#ifndef TEXT_H
#define TEXT_H

#include <QTextEdit>
#include "area.h"

class TextWidget : public QTextEdit
{
public:

    TextWidget(Area * parent);

    virtual ~TextWidget();

private:

    void mouseReleaseEvent ( QMouseEvent * );

private:

    Area *_parent;

};

#endif // TEXT_H
